Conversation
There was a problem hiding this comment.
Pull request overview
This PR migrates the project's build, test, and lint tooling to use Hatch as the primary project manager, replacing the previous setup with uv and separate workflow files. The PR also adds comprehensive development documentation.
Key changes:
- Migrated to Hatch for managing environments, testing, type checking, and formatting/linting
- Added
DEVELOPMENT.mdwith detailed instructions for development workflows - Consolidated CI workflows into a single
ci.ymlfile that runs tests, type checking, and formatting across multiple Python versions
Reviewed changes
Copilot reviewed 9 out of 16 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
pyproject.toml |
Configured Hatch environments for testing (hatch-test), type checking (types), and static analysis; moved version to dynamic; added license metadata; updated ruff lint configuration |
tlm/__about__.py |
Added version file for dynamic version management |
DEVELOPMENT.md |
Added comprehensive development documentation covering testing, type checking, formatting, pre-commit hooks, and packaging |
.github/workflows/ci.yml |
Created new consolidated CI workflow for testing, type checking, and formatting across Python 3.10-3.13 |
.github/workflows/test.yml |
Removed old test workflow (replaced by ci.yml) |
.github/workflows/static-analysis.yml |
Removed old static analysis workflow (replaced by ci.yml) |
.pre-commit-config.yaml |
Updated to use local Hatch commands instead of separate ruff and mypy repos |
.python-version |
Removed file as Python version is now managed by Hatch |
README.md |
Fixed trailing whitespace |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cleans up mixed use of
uvvshatchto run linting, type checking, and tests. Also sets the default installer forhatchtouv, adds aDEVELOPMENT.md, and removes unnecessaryuv.lockand.python-versionfiles.For linting,
hatch fmtuses a different set of default checks thanruff. To avoid having to fix a bunch of lint errors in this PR, we override thehatchdefaults using[tool.hatch.envs.hatch-static-analysis] config-path = "none".Addresses part of #7